package com.demo.springcloud.dao;

import com.demo.springcloud.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {

    public int save(User user);

    public int deleteById(Long id);

    public int update(User user);

    public List<User> selectAll();

    public User selectById(Long id);
}
